package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;


public interface OrderSubmitService {
    OrderSubmitVO submitOrder(OrdersSubmitDTO orderSubmitDto);

    PageResult historyOrders(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderVO getDetailById(Long id);

    void cancelOrder(Long id);

    void againOrder(Long id);

    PageResult pageSearch(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderStatisticsVO statistics();

    OrderVO getOrder(Long id);

    void confirm(OrdersConfirmDTO ordersDTO);

    void rejection(OrdersRejectionDTO ordersRejectionDTO);

    void cancel(OrdersCancelDTO ordersCancelDTO);

    void delivery(Long id);

    void complete(Long id);

    void reminder(Long id);
}
